.class public Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;
.super Landroid/widget/LinearLayout;
.source "BGMRangePickView.java"

# interfaces
.implements Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$a;


# instance fields
.field private a:Lcom/esfile/screen/recorder/utils/SimpleDurationFormat;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/ImageView;

.field private e:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;

.field private f:Lcom/esfile/screen/recorder/media/util/w;

.field private g:Lcom/esfile/screen/recorder/media/util/w$b;

.field private h:Ljava/lang/String;

.field private i:Les/z9;

.field private j:I

.field private k:Les/z9$d;

.field private l:Les/z9$e;

.field private m:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, p1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    const/4 v0, 0x0

    .line 2
    invoke-direct {p0, p1, p2, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2, p3}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 4
    new-instance p2, Lcom/esfile/screen/recorder/utils/SimpleDurationFormat;

    sget-object p3, Lcom/esfile/screen/recorder/utils/SimpleDurationFormat$DurationUnit;->MS:Lcom/esfile/screen/recorder/utils/SimpleDurationFormat$DurationUnit;

    invoke-direct {p2, p3}, Lcom/esfile/screen/recorder/utils/SimpleDurationFormat;-><init>(Lcom/esfile/screen/recorder/utils/SimpleDurationFormat$DurationUnit;)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a:Lcom/esfile/screen/recorder/utils/SimpleDurationFormat;

    .line 5
    new-instance p2, Lcom/esfile/screen/recorder/media/util/w;

    invoke-direct {p2}, Lcom/esfile/screen/recorder/media/util/w;-><init>()V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->f:Lcom/esfile/screen/recorder/media/util/w;

    .line 6
    new-instance p2, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView$d;

    const/16 p3, 0xc8

    invoke-direct {p2, p0, p3, p3}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView$d;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;II)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->g:Lcom/esfile/screen/recorder/media/util/w$b;

    .line 7
    new-instance p2, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView$e;

    invoke-direct {p2, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView$e;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->k:Les/z9$d;

    .line 8
    new-instance p2, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView$f;

    invoke-direct {p2, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView$f;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->l:Les/z9$e;

    const/4 p2, 0x0

    .line 9
    iput-boolean p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->m:Z

    .line 10
    sget p2, Les/y4;->durec_video_edit_bgm_range_pick_view:I

    invoke-static {p1, p2, p0}, Landroid/widget/LinearLayout;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    .line 11
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a()V

    return-void
.end method

.method private a()V
    .locals 2

    .line 5
    sget v0, Les/x4;->cur_position:I

    invoke-virtual {p0, v0}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->b:Landroid/widget/TextView;

    .line 6
    sget v0, Les/x4;->duration:I

    invoke-virtual {p0, v0}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->c:Landroid/widget/TextView;

    .line 7
    sget v0, Les/x4;->range_seek:I

    invoke-virtual {p0, v0}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->e:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;

    .line 8
    invoke-virtual {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$a;)V

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->e:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a:Lcom/esfile/screen/recorder/utils/SimpleDurationFormat;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setLabelFormat(Ljava/text/Format;)V

    .line 10
    sget v0, Les/x4;->play_btn:I

    invoke-virtual {p0, v0}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->d:Landroid/widget/ImageView;

    .line 11
    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView$a;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView$a;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/4 v0, 0x0

    .line 12
    invoke-direct {p0, v0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(II)V

    return-void
.end method

.method private a(II)V
    .locals 1

    const/4 v0, 0x1

    .line 16
    invoke-direct {p0, p1, p2, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(IIZ)V

    return-void
.end method

.method private a(IIZ)V
    .locals 1

    .line 17
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView$c;

    invoke-direct {v0, p0, p1, p2, p3}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView$c;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;IIZ)V

    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;II)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(II)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;IIZ)V
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2, p3}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(IIZ)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;Ljava/lang/String;)V
    .locals 0

    .line 4
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->b(Ljava/lang/String;)V

    return-void
.end method

.method private a(Ljava/lang/Runnable;)V
    .locals 2
    .param p1    # Ljava/lang/Runnable;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 13
    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v0

    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 14
    invoke-virtual {p0, p1}, Landroid/widget/LinearLayout;->post(Ljava/lang/Runnable;)Z

    goto :goto_0

    .line 15
    :cond_0
    invoke-interface {p1}, Ljava/lang/Runnable;->run()V

    :goto_0
    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 0

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)Z
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->b()Z

    move-result p0

    return p0
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->c()V

    return-void
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;Ljava/lang/String;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(Ljava/lang/String;)V

    return-void
.end method

.method private b(Ljava/lang/String;)V
    .locals 0

    return-void
.end method

.method private b()Z
    .locals 1

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Les/z9;->c()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->e:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;

    return-object p0
.end method

.method private c()V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Les/z9;->d()V

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->g()V

    :cond_0
    return-void
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)Les/z9;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    return-object p0
.end method

.method private d()V
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Les/z9;->g()V

    .line 4
    :cond_0
    new-instance v0, Les/z9;

    invoke-direct {v0}, Les/z9;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    .line 5
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->h:Ljava/lang/String;

    invoke-virtual {v0, v1}, Les/z9;->a(Ljava/lang/String;)Z

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    invoke-virtual {v0}, Les/z9;->e()Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_1

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->k:Les/z9$d;

    invoke-virtual {v0, v2}, Les/z9;->a(Les/z9$d;)V

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->l:Les/z9$e;

    invoke-virtual {v0, v2}, Les/z9;->a(Les/z9$e;)V

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    invoke-virtual {v0}, Les/z9;->b()I

    move-result v0

    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->j:I

    .line 10
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->e:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;

    invoke-virtual {v2, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setMax(I)V

    .line 11
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->j:I

    invoke-direct {p0, v1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(II)V

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    .line 12
    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    .line 13
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->j:I

    .line 14
    sget v0, Les/z4;->durec_play_audio_error:I

    invoke-static {v0}, Les/ec;->a(I)V

    .line 15
    invoke-direct {p0, v1, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(II)V

    .line 16
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "error: AudioVolumePlayer preparePlayer error_"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->h:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->b(Ljava/lang/String;)V

    :goto_0
    return-void
.end method

.method private e()V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Les/z9;->g()V

    const/4 v0, 0x0

    .line 4
    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    :cond_0
    return-void
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->g()V

    return-void
.end method

.method static synthetic f(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->j:I

    return p0
.end method

.method private f()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Les/z9;->f()V

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->g()V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    invoke-virtual {v0}, Les/z9;->a()I

    move-result v0

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->j:I

    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(II)V

    :cond_0
    return-void
.end method

.method private g()V
    .locals 1

    .line 2
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView$b;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView$b;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)V

    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic g(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->d()V

    return-void
.end method

.method static synthetic h(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)Ljava/lang/String;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->h:Ljava/lang/String;

    return-object p0
.end method

.method static synthetic i(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->f()V

    return-void
.end method

.method static synthetic j(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)Landroid/widget/ImageView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->d:Landroid/widget/ImageView;

    return-object p0
.end method

.method static synthetic k(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)Lcom/esfile/screen/recorder/media/util/w$b;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->g:Lcom/esfile/screen/recorder/media/util/w$b;

    return-object p0
.end method

.method static synthetic l(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)Lcom/esfile/screen/recorder/media/util/w;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->f:Lcom/esfile/screen/recorder/media/util/w;

    return-object p0
.end method

.method static synthetic m(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)Lcom/esfile/screen/recorder/utils/SimpleDurationFormat;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a:Lcom/esfile/screen/recorder/utils/SimpleDurationFormat;

    return-object p0
.end method

.method static synthetic n(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->b:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic o(Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->c:Landroid/widget/TextView;

    return-object p0
.end method


# virtual methods
.method public a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;)V
    .locals 0

    .line 23
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->b()Z

    move-result p1

    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->m:Z

    .line 24
    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->LEFT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {p1, p2}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    .line 25
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->c()V

    .line 26
    :cond_0
    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->LEFT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {p1, p2}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_1

    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->RIGHT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {p1, p2}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_2

    :cond_1
    const-string p1, "music_slider"

    .line 27
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(Ljava/lang/String;)V

    :cond_2
    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;IZ)V
    .locals 2

    if-eqz p4, :cond_1

    .line 18
    sget-object p1, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->NEEDLE:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {p1, p2}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 19
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    if-eqz p1, :cond_0

    int-to-long v0, p3

    .line 20
    invoke-virtual {p1, v0, v1}, Les/z9;->a(J)V

    .line 21
    :cond_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->b()Z

    move-result p1

    if-nez p1, :cond_1

    .line 22
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->j:I

    invoke-direct {p0, p3, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(II)V

    :cond_1
    return-void
.end method

.method public b(Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;)V
    .locals 3

    .line 4
    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getLeftCursorValue()I

    move-result v0

    .line 5
    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getRightCursorValue()I

    move-result v1

    .line 6
    sget-object v2, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->LEFT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {v2, p2}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 7
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    if-eqz p1, :cond_0

    const/4 p2, 0x1

    .line 8
    invoke-virtual {p1, v0, v1, p2}, Les/z9;->a(IIZ)V

    .line 9
    :cond_0
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->j:I

    invoke-direct {p0, v0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(II)V

    .line 10
    iget-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->m:Z

    if-eqz p1, :cond_4

    .line 11
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->f()V

    goto :goto_1

    .line 12
    :cond_1
    sget-object v0, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;->RIGHT:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar$Select;

    invoke-virtual {v0, p2}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_4

    .line 13
    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getNeedleCursorValue()I

    move-result p1

    .line 14
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    if-eqz p2, :cond_3

    .line 15
    invoke-virtual {p2, v1}, Les/z9;->a(I)V

    if-lt p1, v1, :cond_2

    .line 16
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    int-to-long v0, v1

    invoke-virtual {p2, v0, v1}, Les/z9;->a(J)V

    goto :goto_0

    .line 17
    :cond_2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->b()Z

    move-result p2

    if-nez p2, :cond_3

    .line 18
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    int-to-long v0, p1

    invoke-virtual {p2, v0, v1}, Les/z9;->a(J)V

    .line 19
    :cond_3
    :goto_0
    iget p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->j:I

    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(II)V

    :cond_4
    :goto_1
    return-void
.end method

.method public getRange()Landroid/util/Pair;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Landroid/util/Pair<",
            "Ljava/lang/Integer;",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation

    .line 1
    new-instance v0, Landroid/util/Pair;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->e:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getLeftCursorValue()I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->e:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;

    invoke-virtual {v2}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->getRightCursorValue()I

    move-result v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    return-object v0
.end method

.method protected onDetachedFromWindow()V
    .locals 2

    .line 1
    invoke-super {p0}, Landroid/widget/LinearLayout;->onDetachedFromWindow()V

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->e()V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->f:Lcom/esfile/screen/recorder/media/util/w;

    if-eqz v0, :cond_0

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->g:Lcom/esfile/screen/recorder/media/util/w$b;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/media/util/w;->b(Lcom/esfile/screen/recorder/media/util/w$b;)V

    :cond_0
    return-void
.end method

.method public setAudioVolume(F)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0, p1}, Les/z9;->b(F)V

    :cond_0
    return-void
.end method

.method public setDataSource(Ljava/lang/String;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->h:Ljava/lang/String;

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->d()V

    return-void
.end method

.method public setEnabled(Z)V
    .locals 4

    .line 1
    invoke-super {p0, p1}, Landroid/widget/LinearLayout;->setEnabled(Z)V

    if-nez p1, :cond_0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->c()V

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->d:Landroid/widget/ImageView;

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setEnabled(Z)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->e:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setEnabled(Z)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->b:Landroid/widget/TextView;

    const v1, -0xa7a7a8

    const v2, -0x222223

    if-eqz p1, :cond_1

    const v3, -0xa7a7a8

    goto :goto_0

    :cond_1
    const v3, -0x222223

    :goto_0
    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->c:Landroid/widget/TextView;

    if-eqz p1, :cond_2

    goto :goto_1

    :cond_2
    const v1, -0x222223

    :goto_1
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    return-void
.end method

.method public setRange(Landroid/util/Pair;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/util/Pair<",
            "Ljava/lang/Integer;",
            "Ljava/lang/Integer;",
            ">;)V"
        }
    .end annotation

    if-eqz p1, :cond_0

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->e:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;

    iget-object v1, p1, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v1, Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setLeftCursorValue(I)V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->e:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;

    iget-object v1, p1, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v1, Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;->setRightCursorValue(I)V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->e:Lcom/esfile/screen/recorder/videos/edit/activities/music/RangeSeekBar;

    invoke-virtual {v0}, Landroid/view/View;->postInvalidate()V

    .line 4
    iget-object v0, p1, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->j:I

    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->a(II)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/music/BGMRangePickView;->i:Les/z9;

    if-eqz v0, :cond_0

    const/4 v1, 0x1

    .line 6
    invoke-virtual {v0, p1, v1}, Les/z9;->a(Landroid/util/Pair;Z)V

    :cond_0
    return-void
.end method
